### useConnectionState Hook

Shows the current connection state of the user when using WebSockets.

```jsx
const { isOnline, isOffline, isConnecting } = useConnectionState()
```
